/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.delivery.servicelayer;

import com.mycompany.delivery.dto.AccountDTO;
import java.util.List;

/**
 *
 * @author mhunek
 */
public interface AccountCRUDService {

    public AccountDTO createAccount(AccountDTO account);

    public AccountDTO updateAccount(AccountDTO account);

    public void deleteAccount(AccountDTO account);

    public AccountDTO findAccount(String login);
    
     public AccountDTO findAccount(Long id);

    public List<AccountDTO> findAllAccount();
}
